package com.example.comiccenter.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.comiccenter.domain.Admin;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminService{
    boolean verifyPassword(String adminname, String password);
    int insertAdmin(Admin amdin);
    int deleteAdmin(Integer Id);
    Page<Admin> getSelectAdminList(Integer PageNum, Integer PageSize, LambdaQueryWrapper<Admin> wrapper);

    int updateAdmin(Admin admin);
}
